import request from "@/utils/request";

export function postOssUpload(data) {
  return request({
    url: "/oss/upload",
    method: "post",
    data,
  });
}

// 根据OSSid获取当前的临时路径
export function putOssTempUrl(ossId) {
  return request({
    url: `/oss/${ossId}`,
    method: "put",
  });
}
